package com.ruoyi.web.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.web.domain.mes.MesOrderCover;
import com.ruoyi.web.domain.mes.MesOrderNeiwen;
import lombok.Data;

import java.util.*;

@Data
public class MesBindingDaily extends BaseEntity  {
    public String id;
    //装订日报单编号
    public String bindingNo;
    //日报日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    public Date dailyDate;
    //关联单据
    public String document;
//    //机台Id
//    public String machineId;
    //机台名称
    public String machineName;
    /** 机长id */
    private String headId;
    /** 机长名称 */
    private String headName;
    //机长
    public String captain;
    //装订方式
    public String mode;
    //维修保养时长
    public String maintainHour;
    /** 状态 */
    private int status;
    //备注
    public String remark;

    //制单人
//    @TableField(exist = false)
    public String createBy;



    @TableField(exist = false)
    public String createbys;

    @TableField(exist = false)
    private String workshopName;

    @TableField(exist = false)
    private String produceno;
    @TableField(exist = false)
    private String produceId;


    //制单日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date createTime;
    /** 类型 1 半包 2 过胶 3 投本 */
    public String bindingType;


    /** 请求参数 */
//
//    @TableField(exist = false)
//    @JsonInclude(JsonInclude.Include.NON_EMPTY)
//    private Map<String, Object> params;
//
//    public Map<String, Object> getParams()
//    {
//        if (params == null)
//        {
//            params = new HashMap<>();
//        }
//        return params;
//    }
//
//    public void setParams(Map<String, Object> params)
//    {
//        this.params = params;
//    }



//    //员工
//    @TableField(exist = false)
//    private List<MesBindingDailyStaff> bindingDailyStaffs = new ArrayList<>();
//    //详情
//    @TableField(exist = false)
//    private List<MesBindingDailyDetail> bindingDailyDetails = new ArrayList<>();


    private String machineId;
    @TableField(exist = false)
    public List<ReportCare> reportCareList;
    @TableField(exist = false)
    public List<ReportUser> reportUserList;
    @TableField(exist = false)
    public List<ReportWork> reportWorkList;
    @TableField(exist = false)
    public List<MesCoveringUser> orderUserList;
    @TableField(exist = false)
    public List<MesCoveringWork> orderWorkList;
    @TableField(exist = false)
    public List<MesBindingDailyStaff> bindingDailyStaffs;
    @TableField(exist = false)
    public List<MesBindingDailyDetail> bindingDailyDetails;

    public List<ReportCare> getReportCareList() {
        return reportCareList;
    }

    public void setReportCareList(List<ReportCare> reportCareListBase) {
        this.reportCareList = reportCareListBase;
    }

    public List<ReportUser> getReportUserList() {
        return reportUserList;
    }

    public void setReportUserList(List<ReportUser> reportUserListBase) {
        this.reportUserList = reportUserListBase;
    }

    public List<ReportWork> getReportWorkList() {
        return reportWorkList;
    }

    public void setReportWorkList(List<ReportWork> reportWorkListBase) {
        this.reportWorkList = reportWorkListBase;
    }

    public List<MesCoveringUser> getOrderUserList() {
        return orderUserList;
    }

    public void setOrderUserList(List<MesCoveringUser> orderUserListBase) {
        this.orderUserList = orderUserListBase;
    }

    public List<MesCoveringWork> getOrderWorkList() {
        return orderWorkList;
    }

    public void setOrderWorkList(List<MesCoveringWork> orderWorkListBase) {
        this.orderWorkList = orderWorkListBase;
    }

    public String getMachineId() {
        return machineId;
    }

    public void setMachineId(String machineId) {
        this.machineId = machineId;
    }

    public List<MesBindingDailyStaff> getBindingDailyStaffs() {
        return bindingDailyStaffs;
    }

    public void setBindingDailyStaffs(List<MesBindingDailyStaff> bindingDailyStaffs) {
        this.bindingDailyStaffs = bindingDailyStaffs;
    }

    public List<MesBindingDailyDetail> getBindingDailyDetails() {
        return bindingDailyDetails;
    }

    public void setBindingDailyDetails(List<MesBindingDailyDetail> bindingDailyDetails) {
        this.bindingDailyDetails = bindingDailyDetails;
    }
}
